Skip to main content

EntColor

Unit: DXFConv

Description

EntColor returns color of entity in which it is drawn in AutoCAD based on the entity and insert (Ins parameter) here the entity is. The Insert parameter can be nil.

Syntax

function EntColor(E: TsgDXFEntity; Ins: TsgDXFInsert): TColor;

Example:

Entity has color "ByLayer" and layer's color is red. The function returns red. EntColor stores all the procedures made on colors in CAD Importer VCL